Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multi fields relations #53

Merged
merged 17 commits into from
Sep 22, 2023
Merged

Conversation

volterra79
Copy link
Member

@volterra79 volterra79 commented Sep 12, 2023

Depends on:

Demo project --> project.zip

• father_relation

image

• child_relation

image

• father_relation / child_relation

image

image

G3W-ADMIN Configuration --> Configure and activate layer editing

image

QGIS Configuration ---> 9.3.8. Relations Properties

image

image

@volterra79 volterra79 added the feature New feature or request label Sep 12, 2023
@volterra79 volterra79 requested a review from Raruto September 12, 2023 07:39
@volterra79 volterra79 self-assigned this Sep 12, 2023
@volterra79 volterra79 marked this pull request as ready for review September 12, 2023 13:12
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 12, 2023
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 14, 2023
volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 15, 2023
@Raruto Raruto changed the title Relation multi fields Add support for multi fields relations Sep 20, 2023
wlorenzetti added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 20, 2023
* Add case "graduatedSymbol" to getlegendgraphic filter.

* Fix relation's fields info for 1:N relation.

* Fix mixing referencing and referenced fields.

* Add case "graduatedSymbol" to getlegendgraphic filter.

* Fix check is referenced fields ar primary key.

* Fix test.

* Fix for editing with relations.

* ✨ Client:
    core: g3w-suite/g3w-client#159
    editing: g3w-suite/g3w-client-plugin-editing#53

* ✨ Client:
   core: g3w-suite/g3w-client#159

* ✨ Client:
   core: g3w-suite/g3w-client#159
   editing: g3w-suite/g3w-client-plugin-editing#53

* ✨ Client:
   editing: g3w-suite/g3w-client-plugin-editing#53

* Give to Editor Level 1 user upload geo-data grant (#594)

* Add capabilities to add files into filemanager to Editor level 1 users.

* Add sidebar menu for Editor level 1.

* Fix tests.

* RAdd testing for creations of a subdirectory inside the settings.DATASOURCE_PATH for Editor Level 1 user.

* Typo.

* Fix test typos.

---------

Co-authored-by: wlorenzetti <[email protected]>

* Fix test for external wms service.

# Conflicts:
#	g3w-admin/core/tests/test_api.py

* Fix test.

* Fix test.

---------

Co-authored-by: wlorenzetti <[email protected]>
Co-authored-by: volterra79 <[email protected]>
@volterra79 volterra79 merged commit de8bfd1 into dev Sep 22, 2023
@volterra79 volterra79 deleted the relation_multi_fields branch September 22, 2023 09:31
@Raruto
Copy link
Collaborator

Raruto commented Sep 22, 2023

Tested with: editing-multi-fields.qgs

volterra79 added a commit to g3w-suite/g3w-admin that referenced this pull request Sep 22, 2023
wlorenzetti added a commit to g3w-suite/g3w-admin that referenced this pull request Oct 13, 2023
* Add 'hasCustomPrefix' property to vectorjoin.

* Add 'editable' property, so serialization of vector join.

* Add property `vectorjoin_id` to REST API /vector/api/config/.

* Fix test.

* Add 'prefix' and convert 'editable' to boolean type.

* Typo.

* Fix 'editable' property for fields in QGIS join.

* Set 'editable' to False if join field is a Pk.

* Fix test editing fi QGIS Join

* For documentation.

* ✨ Client:
   core: g3w-suite/g3w-client#483
   editing: g3w-suite/g3w-client-plugin-editing#52

* ✨ Client:
    client:  - g3w-suite/g3w-client#483
             - g3w-suite/g3w-client#159
    editing: - g3w-suite/g3w-client-plugin-editing#52
             - g3w-suite/g3w-client-plugin-editing#53

* ✨ Client:
    client:  - g3w-suite/g3w-client#483
             - g3w-suite/g3w-client#159
    editing: - g3w-suite/g3w-client-plugin-editing#52
             - g3w-suite/g3w-client-plugin-editing#53

* ✨ Client:
    editing: - g3w-suite/g3w-client-plugin-editing@96c9b40
    editing: - g3w-suite/g3w-client-plugin-editing@16f4c9f
    editing: - g3w-suite/g3w-client-plugin-editing@b7a6bb7

* ✨ Client:
    g3w-client: - g3w-suite/g3w-client@5b2e3fa

* ✨ Client:
    g3w-client-plugin-editing: -g3w-suite/g3w-client-plugin-editing@cd65314

* ✨ Client:
    g3w-client:g3w-suite/g3w-client@f557542
    g3w-client-plugin-editing: g3w-suite/g3w-client-plugin-editing@8aef6a4

---------

Co-authored-by: wlorenzetti <[email protected]>
Co-authored-by: volterra79 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants